Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: LS2J memory leak and MQSeries
~Rex Lopboosibergakol 3.Nov.03 02:33 PM a Web browser
Domino Server 6.0.2 CF1 AIX


Hi Eddy,

I found that every time you need to pass/receive a string from/to Java method, the LS2J doesn't dealocate the memory. Problably because String is not a java primitive type. The solution is to create your one java class, that will 'talk' with MQSeries, and to have public variables in your class, so you can pass/receive String parameters with LS2J JAVAPROPERTY.

Ex: Set myProperty = myClass.GetProperty("hostName")
Call myProperty.setValue(HOSTNAME, myObject)
...
Set myProperty = myClass.GetProperty("theMessage")
correllidBytes = myObject.getMessage()
the_Message = myProperty.getValue(myObject)


You can compile and create your java class, or you can use a Java Script Library (be awhare of some problems with the Java Script Library).

if you still have problems, send me a email to rsduarte@yahoo.com

Good luck

Tugas Power.




LS2J memory leak and MQSeries (~Pippy Prekroly... 23.Oct.03)
. . RE: LS2J memory leak and MQSeries (~Rex Lopboosibe... 28.Oct.03)
. . . . RE: LS2J memory leak and MQSeries (~Emile Churesal... 3.Nov.03)
. . . . . . RE: LS2J memory leak and MQSeries (~Rex Lopboosibe... 3.Nov.03)
. . . . . . . . RE: LS2J memory leak and MQSeries (~Emile Churesal... 14.Nov.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS